﻿using System;
using System.Windows.Forms;
using WR.FM.Helper;
using WR.FM.Model;
using WR.FM.BLL;

namespace WR.FM.Forms
{
    public partial class MainForm : Form
    {
        private FundBasicBLL FundBasicBLL = new FundBasicBLL();

        public MainForm()
        {
            InitializeComponent();
        }

        #region 窗体加载事件
        /// <summary>
        /// 窗体加载事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void MainForm_Load(object sender, EventArgs e)
        {
            try
            {
                MessageBox.Show(FundBasicBLL.GetById(1).FundName);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
        #endregion

    }
}
